<%--
  Created by IntelliJ IDEA.
  User: 老白
  Date: 2021/6/18
  Time: 17:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改密码</title>
</head>
<body>

<div id="all">
    <div class="header container-fluid">
        <%@include file="modeHeader.jsp" %>
    </div>
    <div class="container-fluid">
        <div class="row border" style="height: 65vh;">
            <div class="col-sm-3 ">
                <%@include file="modeLeftList.jsp" %>
            </div>
            <div class="col-sm-9 border h-100 d-inline-block">
                <%
                    String username = request.getParameter("username");
                %>
                <form method="post" action="/user?type=updatePass">
                    <div class="form-group">
                        <label for="username">账号</label>
                        <input name="username" type="hidden" class="form-control" id="username"
                               value="<%=username%>">
                    </div>
                    <div class="form-group">
                        <label for="password">新密码</label>
                        <input name="password" type="text" class="form-control" id="password">
                    </div>
                    <button type="submit" class="btn btn-primary" >修改密码</button>
                </form>
            </div>
        </div>
    </div>
    <%@include file="foot.jsp" %>
</div>
</body>
</html>
